AIOSEO\Plugin\Common\Models\Post C

Total Complexity 118
Dependencies 0
Dependents 24
Total lines 725
Lines of code 397
Logical lines of code 206
Comment lines 224
Methods 18
Properties 4

Methods 18

Method Rating Maintainability Complexity Lines of code
sanitizeAndSetDefaults()
D
34 43 59
sanitizeKeyphrases()
A
52 10 28
setDynamicDefaults()
A
54 8 21
setOgTwitterImageData()
S
49 6 34
sanitizePageAnalysis()
S
56 7 18
migrateImageTypes()
S
57 7 16
getDefaultSchemaOptions()
S
48 4 37
runDynamicSchemaMigration()
S
58 5 15
checkForDefaultFormat()
S
59 5 14
getKeyphrasesDefaults()
S
52 4 27
migrateRemovedQaSchema()
S
60 4 13
getPost()
S
56 3 18
savePost()
S
58 3 16
updatePostMeta()
S
59 3 13
getDefaultOpenAiOptions()
S
57 2 18
setOptionsDefaults()
S
58 2 16
getPageAnalysisDefaults()
S
53 1 28
runDynamicMigrations()
S
71 1 6